package com.shengqin.controller.dawei.util;

import cn.hutool.crypto.digest.MD5;
import com.shengqin.controller.dawei.dto.HeaderParams;
import lombok.Data;


public class DaWeiHeaderUtil {
    public static HeaderParams getHeaderParams() {
        HeaderParams headerParams = new HeaderParams();
        long timestamp = System.currentTimeMillis();
        headerParams.setTimestamp(timestamp);
        headerParams.setSign(MD5.create().digestHex("6&h9nU@Z2G" + timestamp + "face manage server"));
        return headerParams;
    }
}
